package com.jiaai.cloud.base.exception;


import com.jiaai.cloud.base.util.ErrorCode;

/**
 * 服務器異常
 *
 * @author zona
 *
 */
public class ServiceException extends BaseException {

	private static final long serialVersionUID = 8319906690572083730L;
	public ServiceException(String message, int code, Exception ex) {
		super(message, code, ex);
	}
	public ServiceException(String message,String description ) {
		super(message, ErrorCode.SERVER_ERROR_CODE, description);
	}
	public ServiceException(String message) {
		super(message, ErrorCode.SERVER_ERROR_CODE, message);
	}
	public ServiceException(String message, int code) {
		super(message, code, "");
	}
	public ServiceException(String message, int code, String description) {
		super(message, code, description);
	}

}
